package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper {
    int deleteByPrimaryKey(String tid);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> selectAll();

    List<Menu> findPagingByListTid(@Param("listTid") List<String> listTid, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);

    List<Menu> findPid(@Param("pid") String pid);


}